package com.example.demo.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Fyly
 * @since 2019-05-07
 */
public class Brand implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 品牌名
     */
    @TableField("brandName")
    private String brandName;
    /**
     * 品牌logo
     */
    @TableField("brandLogoUrl")
    private String brandLogoUrl;
    /**
     * 排序
     */
    @TableField("brandSort")
    private Integer brandSort;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public String getBrandLogoUrl() {
        return brandLogoUrl;
    }

    public void setBrandLogoUrl(String brandLogoUrl) {
        this.brandLogoUrl = brandLogoUrl;
    }

    public Integer getBrandSort() {
        return brandSort;
    }

    public void setBrandSort(Integer brandSort) {
        this.brandSort = brandSort;
    }

    @Override
    public String toString() {
        return "Brand{" +
        "id=" + id +
        ", brandName=" + brandName +
        ", brandLogoUrl=" + brandLogoUrl +
        ", brandSort=" + brandSort +
        "}";
    }
}
